//Design By Do Trung --- Email : trungqn19852003@yahoo.com
//Ngày Design :29/10/2011 3:17:01 PM
using System;
using System.Data;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Data=SoTaiChinh.Library.Data;
using Entity = SoTaiChinh.Library.Entity;
namespace SoTaiChinh.Library.Business
{
	/// <summary>
	/// </summary>
	public class TinTuc
	{
		public TinTuc() {}
		Data.TinTuc tintuc= new Data.TinTuc();
		public bool Insert(Entity.TinTuc entity)
		{
		return tintuc.Insert(entity);
		}
		public DataTable Select(Entity.TinTuc entity)
		{
			return tintuc.Select();
		}
		public DataTable SelectPrimarykey(Entity.TinTuc entity)
		{
			return tintuc.SelectPrimaryKey(entity);
		}        
        public DataTable SelectTimKiem(Entity.TinTuc entity)
        {
            return tintuc.SelectTimKiem(entity);
        }
        //Ham select theo chuyen muc
        public DataTable SelectByDanhMuc(Entity.TinTuc entity)
        {
            return tintuc.SelectByDanhMuc(entity);
        }
        //Hàm select theo danh muc top 10
        public DataTable SelectByDanhMucTop10(Entity.TinTuc entity)
        {
            return tintuc.SelectByDanhMucTop10(entity);
        }
        //Hàm select theo danh muc top 10
        public DataTable SelectTinNoiBat()
        {
            return tintuc.SelectTinNoiBat();
        }
        public DataTable SelectTinTucTheoAction(Entity.TinTuc entity)
        {
            return tintuc.SelectTinTucTheoAction(entity);
        }
		public bool Update(Entity.TinTuc entity)
		{
			return tintuc.Update(entity);
		}
        public bool UpdateLuotXem(Entity.TinTuc entity)
        {
            return tintuc.UpdateLuotXem(entity);
        }
        public bool Update_TrangThai(Entity.TinTuc entity)
        {
            return tintuc.Update_TrangThai(entity);
        }
        public bool Delete(Entity.TinTuc entity)
        {
            return tintuc.Delete(entity);
        }
    }
}
